package com.example.wechat;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan(value = "com.example.wechat.dao")
@EnableAsync//启动多线程
@EnableScheduling//启动定时
public class Application {

    //springboot 项目启动入口
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
